Support filtering by keywords in package listings.
authorTed Zlatanov <tzz@lifelogs.com>
Sat, 14 Dec 2013 19:55:19 +0000 (14:55 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Sat, 14 Dec 2013 19:55:19 +0000 (14:55 -0500)
commit11e6c944254fb85f23b272e433c70edde41b06d4
tree6e21729e7826e6b4599e2d6153bb928989422812
parent4182533787b93bc8d6c64f03628f8e5a0aab845e
Support filtering by keywords in package listings.

* emacs-lisp/package.el (package-built-in-p): Support both
built-in and the package.el converted package descriptions.
(package-show-package-list): Allow keywords.
(package-keyword-button-action): Use it instead of
`finder-list-matches'.
(package-menu-filter-interactive): Interactive filtering (by
keyword) function.
(package-menu--generate): Support keywords and change keymappings
and headers when they are given.
(package--has-keyword-p): Helper function.
(package-menu--refresh): Use it.
(package--mapc): Helper function.
(package-all-keywords): Use it.
(package-menu-mode-map): Set up menu items and keybindings to
provide a filtering UI.
lisp/ChangeLog
lisp/emacs-lisp/package.el